package com.yonyou.iuap.bizflow;

import com.yonyou.ypd.bizflow.utils.HttpClientUtil;
import com.yonyou.ypd.bizflow.utils.IsvHttpClientUtil;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

/**
 * @Author: zhuyjh
 * @Date: 2024/5/16 15:57
 */
@AutoConfigureBefore(BizFlowBasicAutoConfiguration.class)
public class IsvBizFlowBasicAutoConfiguration extends BizFlowBasicAutoConfiguration{

    @Bean
    @ConditionalOnMissingBean
    public HttpClientUtil httpClientUtil() {
        return new IsvHttpClientUtil();
    }
}